package com.meowcook.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-11-19
 * Time: 10:37
 */
@Data
@ApiModel
public class SessionDTO {

    @NotNull
    @ApiModelProperty("用户id")
    private ArrayList<Long> userId;

    @NotNull
    @ApiModelProperty("会话名称")
    private String name;

    @NotNull
    @ApiModelProperty("会话人数")
    private Integer numMember;


    @ApiModelProperty("会话头像(可选)")
    private String avatarUrl;
}
